<div id='left_sidebar'>
    Nieuw<br />
    Alles <br />
    Met ster<br />
    Zoeken<br />
</div>

<div id='content-wrapper'>
<div id='posts'>
    <? $this->load->view("posts/post_tabs"); ?>


    <? foreach ($posts as $post):
        $this->load->view("posts/post_template", array("post"=>$post));
     endforeach; ?>

</div>

<div id='right_sidebar'>

    <div class="events">
    <? //show events
		$this->load->view("events", array("events"=>$events));
    ?>
</div>

    <div class="sidebar_block">
        <strong>Logged in as</strong><br/> <?= $this->tank_auth->get_user_email(); ?><br/>
        <a href="<?=base_url(); ?>auth/logout">Log out</a> <a href="auth/change_password">Change password</a> <a
            href="<?=base_url(); ?>auth/change_email">Change email</a>
        <a class="fancy_box" href="<?=base_url(); ?>profile">Profile</a>
        <a class="fancy_box" href="<?=base_url(); ?>usersoverview">Users</a>
    </div>

</div>
</div>

<div class='clear'></div>
